<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 {$sPageType}//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-{$sPageType}.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$sPageCharSet}" />
<title>{$sModuleName}-{$sPageName}</title>
<link href="themes/default/rbac/style.css" rel="stylesheet" type="text/css" />
<link href="themes/default/rbac/table.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table class="table_gray" cellpadding="1">
    <caption>
    {$sTableName.name}
    </caption>
    <thead>
        <th width="40" scope="col">{$sTableName.column.iDepartmentId}</th>
        <th width="100" scope="col">{$sTableName.column.sDepartmentName}</th>
        <th width="100" scope="col">{$sTableName.column.sDepartmentParent}</th>
        <th scope="col">{$sTableName.column.sDepartmentDirection}</th>
        <th width="100" scope="col">{$sTableName.column.sControl}</th>
    </thead>
    <tbody id="tbodySample">
{foreach item=contact from=$data}


        <tr>
            <td>{$contact.iDepartment_Id}</td>
            <td>{$contact.sDepartment_Name}</td>
            <td>{$contact.sDepartment_Parent}</td>
            <td>{$contact.sDepartment_Direction}</td>
            <td> {$sTableName.menu.edit} {$sTableName.menu.view} {$sTableName.menu.delete}</td>
        </tr>

{/foreach}

    </tbody>
</table>
</body>
</html>